package com.jasonzhou.onetomanycontrol.room.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey


@Entity(tableName = "DeviceRecord")
data class DeviceRecord(
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    var id: Long = 0,
    @ColumnInfo(name = "address", typeAffinity = ColumnInfo.TEXT)
    var address: String = "",
    @ColumnInfo(name = "type", typeAffinity = ColumnInfo.TEXT)
    var type: String = "",
    @ColumnInfo(name = "remark", typeAffinity = ColumnInfo.TEXT)
    var remark: String = ""
)
